package com.gem.day08.factory;

public abstract class Drink {
	public abstract String getName();
}

abstract class Coffeee extends Drink {
}

abstract class Tea extends Drink {
}

abstract class Sodas extends Drink {
}

class Lattee extends Coffeee {
	@Override
	public String getName() {
		return "拿铁";
	}
}

class Cappuccinoo extends Coffeee {
	@Override
	public String getName() {
		return "卡布奇诺";
	}
}

class MilkTea extends Tea {
	@Override
	public String getName() {
		return "奶茶";
	}
}

class CocaCola extends Sodas {
	@Override
	public String getName() {
		return "可口可乐";
	}
}
